/*
 * @(#) HealthMeasureType.java Nov 12, 2015
 * Copyright  2015 GPDI. All right reserved.
 */
package blog.sys.entity;

import javax.persistence.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author xuyubang
 * 专题投稿明细
 * @version 1.0 Nov 12, 2015
 */
@Entity
@Table(name = "t_contributions_detail")
public class ContributionsDetail implements Serializable {

    private static final long serialVersionUID = 1L;
    // 
    private Integer id;
    //文章编号
    private Integer release_id;
    //专题编号
    private Integer special_id;
    //投稿时间
    private Date create_time;
    //投稿状态：0：审核中，1：通过，2：投稿失败，3：撤销投稿
    private Integer status;


    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getId() {
        return id;
    }

    @Column(name = "release_id")
    public Integer getRelease_id() {
        return release_id;
    }

    @Column(name = "special_id")
    public Integer getSpecial_id() {
        return special_id;
    }

    @Column(name = "create_time")
    public Date getCreate_time() {
        return create_time;
    }

    @Column(name = "status")
    public Integer getStatus() {
        return status;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setRelease_id(Integer release_id) {
        this.release_id = release_id;
    }

    public void setSpecial_id(Integer special_id) {
        this.special_id = special_id;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
